package com.abc.fast.server.user.service.adapter;

import com.abc.fast.common.domain.entity.User;
import com.abc.fast.common.domain.enums.CommonStatusEnum;

public class UserAdapter {
    public static User buildRegisterUser(String username, String password) {
        User user = new User();
        user.setUsername(username);
        user.setPassword(password);
        user.setStatus(CommonStatusEnum.NORMAL.getStatus());
        return user;
    }
}
